<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="java.util.List"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
     <html>
        <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>产品查询页面</title>
        </head>
        <body>
        <table border="1" bordercolor="PaleGreen">
        <tr>
        			<th width="200px">产品图片</th>
        			<th width="200px">产品编号</th>
        			<th width="200px">产品名字</th>
        			<th width="200px">产品位置</th>
        			<th width="200px">产品价格</th>
        </tr>
                <c:forEach items="${products}" var="item">
                <tr>
                <td><img style="width:150px;height:150px" src="${item.pimg}">&nbsp;&nbsp;&nbsp;&nbsp;</td>
                <td>${item.pid}</td>
                <td>${item.pname}</td>
                <td>${item.ploct}</td>
                <td>${item.pprice}</td>
                </tr>
                </c:forEach>
                </table>
            </body>
            </html>